# 1.1、取出第六个的值
# list1 = [465,8231,8123485,215,612318,12534,561231561,5631,584,2318564,584,5634,561326,4156,1]
# i=list1[5]
# print(i)
# # 1.2、判断，如果列表中的值是561231561，则输出：今天你猜对了哦~~~~
# list1 = [465,8231,8123485,215,612318,12534,561231561,5631,584,2318564,584,5634,561326,4156,1]
# if 561231561 in list1:
#     print("今天你猜对了哦~~~~")
# 1.3、取出这个列表里面所有的偶数，创建空列表，使用append方法，添加到新的列表里
# list1 = [465,8231,8123485,215,612318,12534,561231561,5631,584,2318564,584,5634,561326,4156,1]
# list2 = []
# for a in list1:
#     if a%2 == 0:
#         list2.append(a)
# print(list2)
# 2、定义集合，使用for遍历访问元素
# set1 ={111,222,333,444,555,555}
# for a in set1:
#     print(a)
# 3、定义字符串，使用for遍历访问元素
str1 ="加油华为","加油拆纳"
for a in str1:
    print(a)
# 5、定义列表，使用for遍历访问元素
# list2 = []
# 6、遍历：{465,84564,5641,21564,1891563,481564,651,"刘闯","王李","李四","王三"}
# set2 ={465,84564,5641,21564,1891563,481564,651,"刘闯","王李","李四","王三"}
# for a in set2:
#     print(a)
# 6.1、使用for循环遍历上面的集合，如果输出到了刘闯，则循环结束
# set2 ={465,84564,5641,21564,1891563,481564,651,"刘闯","王李","李四","王三"}
# for a in set2:
#     if a =="刘闯":
#         print("我叫刘闯")
# 7、以上作业，运行的时候使用断点查看代码运行过程
# 8、以上作业，需要咱们17期git仓库里面去写，之后使用git命令上传代码。（每个人上传代码，要有一个目录专门存放自己的作业）

